home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
dviware
/
dvitovdu
/
unix
/
c
/
makefile.usg
< prev
next >
Wrap
Makefile
|
1990-10-01
|
4KB
|
116 lines
# Makefile for DVItoVDU in C.
#
# Mark J. Hewitt Kernel Technology Limited 13-Sep-89
#
# sccsid = @(#)Makefile.USG 1.1
#
SHELL=/bin/sh
#
# If your make supports parallel operation - PARALLEL should be set to &
PARALLEL=
#PARALLEL=&
#
# System
#SYSTEM=BSD
SYSTEM=USG
#
# Define DIRCALLS=NO_DIRCALLS if you don't have mkdir(2) or rmdir(2)
DIRCALLS=NO_DIRCALLS
#DIRCALLS=OK_DIRCALLS
#
# Define FILESYSTEM=BSD_FILESYSTEM if you have a non-Berkeley OS with
# long filenames.
#FILESYSTEM=BSD_FILESYSTEM
FILESYSTEM=USG_FILESYSTEM
#
# TTYIO should be bsdio for 4.2BSD, or usgio for System V
#TTYIO=bsdio
TTYIO=usgio
#
# Libraries required. -lm is always needed.
#LIBS=-lm -lseq
LIBS=-lm -lmalloc
#
# lint options
LINTOPT=-hc
#LINTOPT=-c
#
# Pathnames used
TMPDIR=/tmp
PXLFONTDIR=/usr/local/lib/tex/fonts/pxl
PKFONTDIR=/usr/local/lib/tex/fonts/pk
HELPFILE=/usr/local/lib/tex/dvitovdu.hlp
#
# Name of final binary
EXECNAME=dvi2vdu
#
# Other options to be set if necessary
#USERFLAGS=-DDEBUG -g
USERFLAGS=-O # -DVOIDPTR=int # VOIDPTR is type for functions returning void
#
#
###############################################################################
#
# Should be no changes needed below this line
#
CFLAGS = $(USERFLAGS) -DTEMPAREA=\"$(TMPDIR)\" -DPXLAREA=\"$(PXLFONTDIR)\" \
-D$(SYSTEM) -D$(DIRCALLS) -DPKFONTDIR=\"$(PKFONTDIR)\" \
-D$(FILESYSTEM) -DHELPFILELOC=\"$(HELPFILE)\"
OBJ=aed512vdu.o dvitovdu.o falco5220e.o systemif.o vduif.o vt220vdu.o\
ansivdu.o pktopx.o pkreader.o pxlreader.o tek4010vdu.o vis500vdu.o\
vt640vdu.o dvireader.o regisvdu.o $(TTYIO).o vis550vdu.o screenio.o
SRC=aed512vdu.c dvitovdu.c falco5220e.c systemif.c vduif.c vt220vdu.c\
ansivdu.c pktopx.c pkreader.c pxlreader.c tek4010vdu.c vis500vdu.c\
vt640vdu.c dvireader.c regisvdu.c $(TTYIO).c vis550vdu.c screenio.c
HEADS=def.h dvireader.h dvitovdu.h screenio.h vduif.h systemif.h
all: dvi2vdu
dvi2vdu:$(PARALLEL) $(OBJ) $(HEADS) Makefile
$(CC) -o $(EXECNAME) $(OBJ) $(LIBS)
clean:
rm -f *.o $(EXECNAME) core *~
lint:
lint $(LINTOPT) $(CFLAGS) $(SRC)
lint-all:
lint *.ln $(LIBS)
tags:
etags $(SRC) $(HEADS)
aed512vdu.o : aed512vdu.c def.h /usr/include/stdio.h
ansivdu.o : ansivdu.c def.h /usr/include/stdio.h
bsdio.o : bsdio.c def.h /usr/include/stdio.h /usr/include/sgtty.h \
/usr/local/lib/gcc-include/sys/ioctl.h \
/usr/local/lib/gcc-include/sys/ttychars.h /usr/include/sys/ttydev.h \
/usr/include/signal.h
dvireader.o : dvireader.c /usr/include/math.h /usr/include/string.h def.h \
/usr/include/stdio.h dvireader.h dvitovdu.h screenio.h
dvitovdu.o : dvitovdu.c def.h /usr/include/stdio.h /usr/include/string.h \
/usr/include/fcntl.h /usr/include/ctype.h /usr/include/math.h dvitovdu.h \
dvireader.h screenio.h /usr/include/setjmp.h version.h
falco5220e.o : falco5220e.c def.h /usr/include/stdio.h
pkreader.o : pkreader.c def.h /usr/include/stdio.h
pktopx.o : pktopx.c def.h /usr/include/stdio.h
pxlreader.o : pxlreader.c def.h /usr/include/stdio.h
regisvdu.o : regisvdu.c def.h /usr/include/stdio.h
screenio.o : screenio.c def.h /usr/include/stdio.h /usr/include/math.h \
screenio.h dvitovdu.h
systemif.o : systemif.c def.h /usr/include/stdio.h /usr/include/string.h \
systemif.h
tek4010vdu.o : tek4010vdu.c def.h /usr/include/stdio.h
usgio.o : usgio.c def.h /usr/include/stdio.h /usr/include/signal.h \
/usr/include/fcntl.h /usr/include/termio.h /usr/include/setjmp.h
vduif.o : vduif.c def.h /usr/include/stdio.h vduif.h /usr/include/ctype.h
vis500vdu.o : vis500vdu.c def.h /usr/include/stdio.h
vis550vdu.o : vis550vdu.c def.h /usr/include/stdio.h dvitovdu.h
vt220vdu.o : vt220vdu.c def.h /usr/include/stdio.h
vt640vdu.o : vt640vdu.c def.h /usr/include/stdio.h